import NProgress from 'nprogress';
import { Router } from 'vue-router';
NProgress.configure({ showSpinner: false }); // 进度条
export function commonAfterHook(router: Router) {
    router.afterEach((to) => {
        NProgress.done();
    });
}
